<?php
/**
 * Enter description here...
 *
 * @package util.filter.action
 * @since 0.2.2
 */
class IActionFilter implements IFilter {
	private $controller;
	
	public function doFilter (&$controller, $chain = null) {
		$this->controller = $controller;
		if ($chain != null) {
			$chain->doNext();
		}
	}
	
	public function before(IController &$controller) {
	}
	
	public function after(IController &$controller) {
	}
	
	/**
	 * Enter description here...
	 *
	 * @return IApplication
	 * @since 0.2.2
	 */
	public function controller() {
		return $this->controller;
	}
}


?>